package com.khalil.kkadmin.system.umc.entity;

import com.khalil.kkadmin.infrastructure.jpa.domain.EntityBase;
import jakarta.persistence.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

@EntityListeners(AuditingEntityListener.class)
@EqualsAndHashCode(callSuper = true)
@Table(name = "message_prompt")
@Entity
@Data
public class MessagePrompt extends EntityBase<Long> {
    private String name;
    private String description;
    @Enumerated(EnumType.STRING)
    private MessageToolType type;
    @Column(columnDefinition = "text")
    private String prompt;

    public enum MessageToolType {
        HTML,
        TEXT,
        MARKDOWN,
    }
}
